<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>插值闪烁</title>
</head>
<body>
<div id="app">
    {{1+2}}<br>
    {{2+1}}<br>
    {{2*1}}<br>
    {{2/1}}<br>
    {{Math.random()}}<br>
    {{name}}<br>
    {{"name"}}<br>
    age : {{age}}<br>
    age : <span v-text="age"></span><br>
    age : <span v-html="age" ></span><br>
</div>

<script src="./node_modules/vue/dist/vue.js"></script>
<script>
    var app = new Vue({
        el : "#app",
        data :{
            name : "刘德华",
            age : "<h3>刘德华有问题</h3>"
        }
    })
</script>
</body>
</html>